package com.nhutcm.sms.Utils;

/**
 * Saving some constant value
 * 
 * @author Chau Minh Nhut
 * 
 */
public class Constant {

	/**
	 * Server state
	 */

	public static boolean SERVER_ON = true;

	/*
	 * token
	 */

	public static String TOKEN = "tgvr";

	/**
	 * Request URL
	 */
	public static final String PING_REQ = "http://sms.canhdieuviet.net/smsservice/ping";

	public static final String GET_LIST_NUM_REQ = "http://sms.canhdieuviet.net/smsservice/getlist";

	public static final String UPDATE_STATUS = "http://sms.canhdieuviet.net/smsservice/update";

	public static final String FORWARD_MESSAGE = "http://sms.canhdieuviet.net/smsservice/replyfrom";

	/**
	 * Request code
	 */
	public static final int PING_REQ_CODE = 1;

	public static final int GET_LIST_NUM_REQ_CODE = 2;

	public static final int UPDATE_STATUS_CODE = 3;

	public static final int FORWARD_MESSAGE_CODE = 4;

	public static final int SEND_SMS = 5;
	
	public static final int POINT_MESS = 6;

	public static final int ONE_SECODE = 1000;
	
	public static final int MAX_NUM_CHARS_PER_MESSAGE = 135;

	/**
	 * Định kỳ gửi request
	 */

	public static int PERIUS_TIME_SEND_REQ = 90 * ONE_SECODE;

	/**
	 * Thời gian delay để gửi tin nhắn tiếp theo
	 */
	public static int WAITING_SEND_SMS = 10 * ONE_SECODE;
}
